﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cspl.Calculator.Lib.Model
{
    public class CalModel
    {
        #region Private Fields
        
        private int _integerValue1;
        private int _integerValue2;
        private CalOperation _operation;

        #endregion

        #region Constructors

        public CalModel()
        { 
        }

        public CalModel(CalOperation operation)
        {
            // assign an initial operation
            this.Operation = operation;
        }

        #endregion

        #region Properties

        public int IntegerValue1
        {
            get { return _integerValue1; }
            set { _integerValue1 = value; }
        }

        public int IntegerValue2
        {
            get { return _integerValue2; }
            set { _integerValue2 = value; }
        }

        private int myVar;

        public int MyProperty
        {
            get { return myVar; }
            set { myVar = value; }
        }
        

        public CalOperation Operation
        {
            get { return _operation; }
            set { _operation = value; }
        }

        public CalMode Mode
        {
            get { return _mode; }
            set { Mode = value; }
        }
        

        #endregion
        
    }
}
